<html >
<head>
    <title>scope集成关系</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<script type="text/javascript" src="../js/angularjs.js"></script>
<script type="text/javascript" src="extend.js"></script>
<body>
<div ng-app="myApp">
    <div ng-controller="parentController">
        {{name}}
        父级对象内容{{person.name}}
    </div>
    <div ng-controller="childController">
        子级对象内容{{person.name}}
    </div>
</div>

</body>
</html>